projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c179a28
)
net: dm9000x: fix debug output
author
Thomas Weber
<
[email protected]
>
Wed, 9 Dec 2009 08:38:04 +0000
(09:38 +0100)
committer
Ben Warren
<
[email protected]
>
Mon, 14 Dec 2009 05:57:01 +0000
(21:57 -0800)
commit
60f61e6d7655400bb785a2ef637581679941f6d1
breaks compile with gcc by introducing __func__
instead of constant string "func" in the macro call but missed to change the macro.
Signed-off-by: Thomas Weber <
[email protected]
>
Signed-off-by: Ben Warren <
[email protected]
>
drivers/net/dm9000x.c
patch
|
blob
|
history
diff --git
a/drivers/net/dm9000x.c
b/drivers/net/dm9000x.c
index 73dd335723b637da0be4bfd0b35b28028dee1151..a7fef56030f08171ac1c054724b9f20651e7c808 100644
(file)
--- a/
drivers/net/dm9000x.c
+++ b/
drivers/net/dm9000x.c
@@
-75,7
+75,7
@@
TODO: external MII is not functional, only internal at the moment.
#define DM9000_DMP_PACKET(func,packet,length) \
do { \
int i; \
- printf(
func ": length: %d\n", length);
\
+ printf(
"%s: length: %d\n", func, length);
\
for (i = 0; i < length; i++) { \
if (i % 8 == 0) \
printf("\n%s: %02x: ", func, i); \